package com.xyht.sca_s.student_manage_system.modules.student_difficulty.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 家庭经济困难认定任务
 * </p>
 *
 * @author XYHT
 * @since 2023-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_student_difficulty_task")
@ApiModel(value="SmsStudentDifficultyTask对象", description="家庭经济困难认定任务")
public class SmsStudentDifficultyTask implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String taskName;

    private String yearRange;

    @ApiModelProperty(value = "任务限制人员：0:全通知  1：组织  2：角色  3：人员")
    private Integer taskRange;

    private String rangeId;

    @ApiModelProperty(value = "过期时间")
    private Date expirationTime;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "任务是否关闭  0：未关闭  1：已关闭")
    private Integer isClose;

    @ApiModelProperty(value = "操作用户id")
    private String userId;


}
